import  Vue  from "vue"
import Vuex from 'vuex'

Vue.use(Vuex)
const state = {
    Key: '',
	userInfo:{}
	
}
const mutations = {
    mutationsState(state,Sting) {
        return state.Key=Sting
    },
	mutationsuserInfo(state,user){
		return state.userInfo=user
	}
}
export default new Vuex.Store({
    state,
	mutations
})